

#ifndef _SHELL_REQGANGFIGHTRANK_MESSAGE_H_
#define _SHELL_REQGANGFIGHTRANK_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqGangFightRankMessage : public Message
{
	public:
	ReqGangFightRankMessage();
	~ReqGangFightRankMessage();
	void reset();
	ReqGangFightRankMessage* clone();
	static const int _ID;
	//获取类型（1本次帮战 2上次帮战）
	int8 type;
	//1-5战区 0表示第一次打开自动选择战区
	int8 domain;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
